package model

import (
	"gorm.io/gorm"
)

type AdminDict struct {
	gorm.Model
	Uid    uint   `json:"uid" gorm:"not null;default:0;"`
	Enable int8   `json:"enable" gorm:"not null;default:1;comment: 0=未知 1=启用 2=禁用"`
	Mark   string `json:"mark" gorm:"not null;default:'';comment:分组标记;"`
	Code   string `json:"code" gorm:"not null;default:'';comment:字典编码"`
	Label  string `json:"label" gorm:"not null;default:'';comment:显示的字典"`
	Tag    int    `json:"tag" gorm:"not null;default:0;"`
	Memo   string `json:"memo" gorm:"not null;default:'';"`
}
